package com.mall.exception;

import lombok.Getter;

/**
 * @description:
 * @author: liang
 * @time: 2024-01-17 10:48
 */
@Getter
public class FileUploadException extends RuntimeException{

    private String code;

    public FileUploadException(String msg) {
        super(msg);
        this.code = "500";
    }

    public FileUploadException(String code, String msg) {
        super(msg);
        this.code = code;
    }
}
